package com.hippo.core.dao;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: hippo
 */
@Mapper
public interface PlanDao {
    int countPlan(JSONObject data);

    int addPlan(JSONObject data);

    List<JSONObject> getPlanList(JSONObject jsonObject);

    int deletePlan(String id);

    int updatePlan(JSONObject data);

    JSONObject getPlanInfoById(String id);

}
